package com.xuecheng.base.model;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: 40斤
 * @CreateTime: 2024-07-27  19:30
 * @Description: 封装分页参数
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageParams {
    //当前页码
    @ApiModelProperty("当前页码")
    private Long pageNo = 1L;
    //每页记录数
    @ApiModelProperty("每页记录数")
    private Long pageSize = 10L;
}